using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System;

namespace MyUtils
{
	public abstract class ObservableObject : HideObjectMembers, INotifyPropertyChanged
	{

		public event PropertyChangedEventHandler PropertyChanged;

		protected void OnPropertyChanged(string name)
		{
			var pc = PropertyChanged;
			if (pc != null)
			{
				pc(this, new PropertyChangedEventArgs(name));
			}
		}

	}
}